package com.hnl.core;

import java.io.InputStream;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class HNLConfig extends Config {
	public static final Logger LOG = LoggerFactory.getLogger(HNLConfig.class);

	private static HNLConfig hnlConfig;

	public static HNLConfig getInstance(InputStream resourceAsStream) {
		if (hnlConfig == null) {
			hnlConfig = new HNLConfig(resourceAsStream);
		}
		return hnlConfig;
	}

	private HNLConfig(InputStream resourceAsStream) {
		super(resourceAsStream);
	}

	public static final String CONFIG = "config";
	public static final String DATA_SRC = "dataSource";
	public static final String SOLR_TIMER = "solrtimer";
	public static final String ATTACHMENT_LOCATION = "attachmentLocation";

}
